package com.suke.czx.modules.examstack.exam.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.examstack.exam.dao.Question2TagDao;
import com.suke.czx.modules.examstack.exam.entity.Question2TagEntity;
import com.suke.czx.modules.examstack.exam.service.Question2TagService;



@Service("question2TagService")
public class Question2TagServiceImpl implements Question2TagService {
	@Autowired
	private Question2TagDao question2TagDao;
	
	@Override
	public Question2TagEntity queryObject(Integer questionTagId){
		return question2TagDao.queryObject(questionTagId);
	}
	
	@Override
	public List<Question2TagEntity> queryList(Map<String, Object> map){
		return question2TagDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return question2TagDao.queryTotal(map);
	}
	
	@Override
	public void save(Question2TagEntity question2Tag){
		question2TagDao.save(question2Tag);
	}
	
	@Override
	public void update(Question2TagEntity question2Tag){
		question2TagDao.update(question2Tag);
	}
	
	@Override
	public void delete(Integer questionTagId){
		question2TagDao.delete(questionTagId);
	}
	
	@Override
	public void deleteBatch(Integer[] questionTagIds){
		question2TagDao.deleteBatch(questionTagIds);
	}
	
}
